/*    */ package com.szsky.sky.demo;
/*    */ 
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
/*    */ import org.springframework.security.crypto.password.DelegatingPasswordEncoder;
/*    */ import org.springframework.security.crypto.password.NoOpPasswordEncoder;
/*    */ import org.springframework.security.crypto.password.PasswordEncoder;
/*    */ 
/*    */ public class DelegatingPasswordEncoder_Tyyh extends DelegatingPasswordEncoder {
/*    */   public DelegatingPasswordEncoder_Tyyh(String idForEncode, Map<String, PasswordEncoder> idToPasswordEncoder) {
/* 12 */     super(idForEncode, idToPasswordEncoder);
/*    */   }
/*    */ 
/*    */   
/*    */   public DelegatingPasswordEncoder_Tyyh() {
/* 17 */     this("bcrypt", map());
/* 18 */     setDefaultPasswordEncoderForMatches(map().get("bcrypt"));
/*    */   }
/*    */   private static Map<String, PasswordEncoder> map() {
/* 21 */     Map<String, PasswordEncoder> encoders = new HashMap<>();
/* 22 */     encoders.put("bcrypt", new BCryptPasswordEncoder());
/*    */     
/* 24 */     encoders.put("bsp", new BspMd5PasswordEncoder());
/* 25 */     encoders.put("noop", NoOpPasswordEncoder.getInstance());
/* 26 */     return encoders;
/*    */   }
/*    */ }


/* Location:              D:\li.sun\cod\\uum-app-kz97p-769bc6745c-2rs4l-boot\BOOT-INF\classes\!\com\inspur\est\mv\\uum\security\TyyhDelegatingPasswordEncoder.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */